function agt = iniAgents(n,t,type)
%% initializes the agents 
%
% tobias siegfried, 06/12/08

switch type
    case 'rb'
        %% new var
        agt.n = 1;
        for i = 1 : agt.n
            agt(i).V0 = 0; % Initial volume in m^3
            agt(i).Vmax = 10^8; % Maximum reservoir capacity
            agt(i).minV = 10^5; % Dead storage
            agt(i).delta = 0.01;% Discount factor
            agt(i).muD = 30; % demand generator, assuming muD demand (mean) 
            agt(i).sigmaD = 15; % demand generator for seasonal variability
            agt(i).dGrowth = .00; % slope of demand growth (linear growth assumed)
            agt(i).scaleD = 5000;
            agt(i).d(:,1) = demandMM(agt,t,0,'transig')';
            %agt(i).KTildeInv
        end
        
    case 'gw'
        
    otherwise
        disp('unknown model')
end